﻿using System;

namespace Demo.DBUtility
{
    #region 提供数据源连接字符串
    /// <summary>
    /// ConnectionInfo 的摘要说明。
    /// </summary>
    public static class ConnectionInfo
    {
        /// <summary>
        /// 获得SQL数据库连接字符串
        /// </summary>
        /// <returns></returns>
        public static string GetSqlServerConnectionString
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["DBTestConnStr"].ConnectionString;
            }
        }
    } 
    #endregion

}
